import 'package:ai/util/DioUtil.dart';

import '../response/CreateResponse.dart';

class CreateService{

  Future<List<CategoryData>> init() async {
    var response = await DioUtil().post('/textApp/category');
    var homeResponse = CreateResponse.fromJson(response.data);
    return homeResponse.data;
  }

}